package com.jdyfy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdyfy.dto.ProjectAnnounceDTO;
import com.jdyfy.entity.AnnouncementDepartment;
import com.jdyfy.entity.Project;

import java.util.List;

public interface AnnouncementDepartmentService extends IService<AnnouncementDepartment> {

    List<AnnouncementDepartment> getEnlistsDepartment(List<String> announcements);

    AnnouncementDepartment getEnlistsDepartments(String announcementName);

    List<ProjectAnnounceDTO> getEnlistsAnnouncementsBydepartment(String departmentName,String projectName,String projectNumber);

    void getEnrollCount(String announcementName);

    int getAdIsHave(String announcementName, String departmentName);
}
